//
//  NewsData.m
//  CarHome
//
//  Created by apple on 15/3/21.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import "NewsData.h"

@implementation NewsData
- (instancetype)initWithDictionary:(NSDictionary *)dic
{
    [self setValuesForKeysWithDictionary:dic];
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.idStr = value;
    }
}
- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
@end
